package com.ruoyi.system.domain.construction;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 租赁服务图片信息对象 rental_pic
 *
 * @author 张少丛
 * @date 2021-01-09
 */
public class RentalPic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 租赁服务图片ID */
    private Integer rentalPicId;

    /** 租赁服务ID */
    @Excel(name = "租赁服务ID")
    private Integer rentalId;

    /** 图片描述 */
    @Excel(name = "图片描述")
    private String rentalDesc;

    /** 图片URL */
    @Excel(name = "图片URL")
    private String rentalUrl;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifiedTime;

    public void setRentalPicId(Integer rentalPicId)
    {
        this.rentalPicId = rentalPicId;
    }

    public Integer getRentalPicId()
    {
        return rentalPicId;
    }
    public void setRentalId(Integer rentalId)
    {
        this.rentalId = rentalId;
    }

    public Integer getRentalId()
    {
        return rentalId;
    }
    public void setRentalDesc(String rentalDesc)
    {
        this.rentalDesc = rentalDesc;
    }

    public String getRentalDesc()
    {
        return rentalDesc;
    }
    public void setRentalUrl(String rentalUrl)
    {
        this.rentalUrl = rentalUrl;
    }

    public String getRentalUrl()
    {
        return rentalUrl;
    }
    public void setModifiedTime(Date modifiedTime)
    {
        this.modifiedTime = modifiedTime;
    }

    public Date getModifiedTime()
    {
        return modifiedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("rentalPicId", getRentalPicId())
                .append("rentalId", getRentalId())
                .append("rentalDesc", getRentalDesc())
                .append("rentalUrl", getRentalUrl())
                .append("modifiedTime", getModifiedTime())
                .toString();
    }
}
